Feature: Publicar POST
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 35.050s |
Scenario: Como un usuario inicio sesión y edito un post agrego una imagen y publico en el futuro
Before
0m 1.035s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.708s
And
I wait for 1 seconds
0m 1.106s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.187s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.149s
And
I wait for 1 seconds
0m 1.104s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.178s
And
I wait for 1 seconds
0m 1.162s
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
0m 0.168s
And
I wait for 1 seconds
0m 1.106s
And
I set text "POST Schedule it for later" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.165s
And
I wait for 1 seconds
0m 1.101s
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
0m 0.170s
And
I wait for 5 seconds
0m 5.321s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.196s
And
I wait for 5 seconds
0m 5.243s
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
0m 0.357s
And
I wait for 5 seconds
0m 5.238s
Then
I click element with xpath "<PUBLISH_MODAL_XPATH>"
0m 0.376s
Then
I click element with xpath "<PUBLISH_SCHEDULE_BUTTON_XPATH>"
0m 0.339s
And
I set text "<PUBLISH_SCHEDULE_DATE>" on element with xpath "<PUBLISH_SCHEDULE_INPUT_XPATH>"
0m 0.268s
And
I wait for 5 seconds
0m 5.235s
Then
I click element with xpath "<PUBLISH_BUTTON_XPATH>"
0m 0.369s
Then
I click element with xpath "<PUBLISH_CONFIRMATION_BUTTON_XPATH>"
0m 0.252s
And
I wait for 3 seconds
0m 3.224s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.287s
After
0m 0.006s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
And
I wait for 1 seconds
And
I set text "POST Schedule it for later" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
And
I click element with xpath "<ADD_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
And
I wait for 5 seconds
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
Then
I click element with xpath "<PUBLISH_MODAL_XPATH>"
Then
I click element with xpath "<PUBLISH_SCHEDULE_BUTTON_XPATH>"
And
I set text "<PUBLISH_SCHEDULE_DATE>" on element with xpath "<PUBLISH_SCHEDULE_INPUT_XPATH>"
And
I wait for 5 seconds
Then
I click element with xpath "<PUBLISH_BUTTON_XPATH>"
Then
I click element with xpath "<PUBLISH_CONFIRMATION_BUTTON_XPATH>"
And
I wait for 3 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
After
NO IMAGE AVAILABLE